// Batch mode swarm simulation
// by Mina Jung @ syracuse university
// April 2010


#import <objectbase.h>
#import "TossimModelSwarm.h"

@interface TossimBatchSwarm: Swarm
{
  int loggingFrequency;	       		  // Frequency of fileI/O

  int experimentDuration;                 // When to Stop the Sim

  id displayActions;			  // schedule data structs
  id displaySchedule;
  id stopSchedule;

  TossimModelSwarm *tossimModelSwarm;	  // the Swarm we're observing

                                          // The EZGraph will be used 
  id batteryGraph;                       // in FileI/O mode rather 
                                          // than the usual Graphics 
                                          // mode...
}

+ createBegin: aZone;
- buildObjects;
- buildActions;
- (id <Activity>)activateIn: swarmContext;
- go;

// special message on ourselves to stop running.
- stopRunning;

@end
